<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>订单详情表单</title>
</head>
<body>
	<form id="zj-orderDetails-form" method="post">
		<div class="step">
			<input id="zj-txt-pro" class="easyui-combobox"
				data-options="editable:false,url:'getAllProduct',textField:'productName',valueField: 'productName',panelHeight:'auto',labelAlign:'right',required:true,label:'产品',
					width:280, labelWidth:90"
				name="proName">
		</div>
		<div class="step">
			<select id="zj-txt-proType" class="easyui-combobox"
				data-options="editable:false,panelHeight:'auto',labelAlign:'right',label:'产品类别',
					width:250, labelWidth:90"
				name="odProType">
				<option disabled selected value=''></option>
				<option value="手机">手机</option>
				<option value="电脑">电脑</option>
				<option value="电视">电视</option>
				<option value="家具">家具</option>
			</select>
		</div>
		<div class="step">
			<select id="zj-txt-odRemarks" class="easyui-combobox"
				data-options="editable:false,panelHeight:'auto',labelAlign:'right',label:'产品单位',
					width:250, labelWidth:90"
				name="odRemarks">
				<option disabled selected value=''></option>
				<option value="部">部</option>
				<option value="台">台</option>
				<option value="个">个</option>
				<option value="张">张</option>
			</select>
		</div>
		<div class="step">
			<input id="zj-txt-odPrice" class="easyui-numberbox" name="odPrice"
				data-options="min:0,precision:2,labelAlign:'right',required:true,label:'单价',
							width:250, labelWidth:90">
		</div>
		<div class="step">
			<input id="zj-txt-odNumber" class="easyui-numberbox" name="odNumber"
				data-options="min:0,precision:0,labelAlign:'right',required:true,label:'数量',
							width:250, labelWidth:90">
		</div>
		<div class="step">
			<input id="zj-txt-odPlanTime" class="easyui-datebox"
				data-options="required:true,labelAlign:'right',label:'交付日期',
					width:300, labelWidth:90"
				name="odPlanTime">
		</div>
		<div class="step">
			<input id="zj-txt-odOwner" name="odOwner" class="easyui-textbox"
				data-options="buttonText:'所有者',label:' ',labelWidth:'90', width: 300, 
					onClickButton:function(){
						getCustomer(function(row){
							$('#zj-txt-odOwner').textbox('setValue', row.custName);
							$('#zj-txt-odOwner').textbox('setText', row.custName);
						});
					}">
		</div>
	</form>
</body>
</html>